package com.cqq.print.base.dao;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.cqq.print.base.dao.domain.PProducePlan;


/**
 * @author generated
 * @date 2015-07-01
 */
public interface PProducePlanDao {

    int insertSelective(PProducePlan record);

    List<PProducePlan> queryAll();
    
    PProducePlan findProPlanById(@Param("id")Integer id);
    
    List<PProducePlan> queryPProducePlanByPage(Map<String,Object> map);
    
    int queryCountPProducePlanByPage(Map<String,Object> map);
    
    int updateBySelective(PProducePlan record);
    
    List<PProducePlan> queryPProducePlanByIds(@Param("proIds")String proIds);
    
    public List<PProducePlan> queryByType(Integer type);
}